/**
 * Description:
 * Class Name:test
 * Date:2022/3/23 21:47
 *
 * @author LTisme
 * @version JAVA17
 */
package 疯狂Java讲义.第9章_泛型._9_3_类型通配符;

import java.util.ArrayList;
import java.util.List;

public class test {
    public static void tt(List c){
        for (var i = 0; i < c.size(); i++){
            System.out.println(c.get(i));
        }
    }
    public static void main(String[] args) {
        List c = new ArrayList<>();
        c.add("hi");
        test.tt(c);
    }
}
